package com.chixing.service;

import com.chixing.entity.Users;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chixing.utils.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author smith
 * @since 2025-09-30
 */
public interface IUsersService {
    public Result login(String userName,String userPwd);//登录
    public Result getLoginUserInfoById(String token);//根据token解析用户信息
    public Result logout(Integer userId);//退出
    public Result validateAndRefreshToken(String token);//刷新token
    //注册
    public Result regist(Users users);// 添加注册方法
}
